package com.nforce.linremote.model;

import java.util.ArrayList;
import java.util.List;

public class LibraryCall {

    private final String function;
    private final String sessionID;
    private List<Object> args;

    public LibraryCall(String function, String sessionID, Object... args) {
	this.sessionID = sessionID;
	this.function = function;
	if (args.length > 0) {
	    this.args = new ArrayList<Object>();
	    for (Object a : args) {
		this.args.add(a);
	    }
	}
    }
}
